package com.github.mpusher.offline.httpclient;

import java.util.Map;

/**
 * Created by ThinkPad on 2017/9/25.
 */
public interface IPushClient {
    /**
     * 获取该用户下的所有离线消息
     * @param userId
     * @return
     */
    public Map<String,String> getOfflineMsg(String userId);
    /**
     * 给用户发送数据
     * @param userId
     */
    public void push(String userId,String msgId,String json);

}
